export default {
  state: {
    breadData: ["首页"],  // 面包屑
    trouble:'',
  },
  mutations: {
    SET_BREAD(state, value){  // 设置面包屑
      state.breadData = value;
      sessionStorage.setItem('breadData',JSON.stringify(value));
    },
    SET_BREAD2(state, value){  // 设置面包屑
      state.trouble = value;
      sessionStorage.setItem('trouble',JSON.stringify(value));
    }
  },
}
